package com.wondersgroup.fjzlpt.org.feign;

import com.wondersgroup.fjzlpt.org.config.FeignLog;
import feign.Headers;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 双相转诊系统接口
 * Created by sanma on 2017/7/25.
 */
@FeignClient(name = "${service.sxzzxt.feignName}" , url = "${service.sxzzxt.API_URL}" , configuration = FeignLog.class)
public interface SxzzApiFeignService {

    @RequestMapping(method = { RequestMethod.POST }, value = "/reservation")
    @Headers({"Accept: text/plain;charset=UTF-8","Content-Type: text/plain;charset=UTF-8"})
    public String reservation(String xmlStr);
}
